package com.company.service;

import com.company.CompanyException;
import com.company.model.Comment;
import com.company.model.request.CommentForm;
import com.company.model.request.CommentQuery;
import com.company.model.result.PageResult;
import java.util.List;

/**
 * 评论相关Service Created by tu on 2017/4/27.
 */
public interface ICommentService {

  PageResult<Comment> list(CommentQuery query);

  List<Comment> list(Long companyId, String content, String ip);

  Comment find(Long id);

  Comment add(CommentForm info, String userAgent) throws CompanyException;
}
